package com.zhz.mall.common.constraints;


import com.zhz.mall.common.constraints.face.TypeLevelValidatorFace;

import java.util.List;

/**
 * 默认实现，只需要继承TypeLevelValidatorFace接口校验
 *
 * @author zhouhengzhe
 */
public class TypeLevelDefaultValidator extends TypeLevelValidator<TypeLevelValidatorFace> {
    @Override
    protected List<ValidResult> valid(TypeLevelValidatorFace face) {
        return face.valid();
    }
}
